(function (locale) {
    locale.cn = locale.cn || {};
    locale.en = locale.en || {};
    locale.cn.phoneRegTitle = "手机注册";
    locale.cn.list = [{
        name: '账号',
        desc: '6-32位字母开头可含数字下划线',
        tips:"6-32位，以字母开头包含字母数字或下划线"
    }, {
        name: '密码',
        desc: '请输入8-32位密码',
        tips: '密码最短需要 8 个字符'
    }, {
        name: '确认',
        desc: '请确认密码',
        tips: ''
    }, {
        name: '手机',
        desc: '请输入有效手机号',
        tips: '请输入有效的手机号码'
    }, {
        name: '验证码',
        desc: '请输入验证码',
        tips: ''
    }];
    locale.cn.successTips = "注册成功";
    locale.cn.emailSuccessTips = "注册成功，请到邮箱点击激活链接";
    locale.cn.failureTips = "注册失败";
    locale.cn.pwdCheckTips = {
    	confirmTips: "两次输入密码不一致",
    	noPwdTips: "请输入密码"
    };
    locale.cn.codeCheckTips = {
    	checkFailTips: "验证码输入错误",
    	noCodeTips: "请输入验证码",
    	getCodeTips: "验证码已经发送至您的手机，请注意查收",
    	codeBtnTitle: "获取验证码",
    	codeBtnTips: "s后重发"
    };
    locale.cn.phoneCheckTips = {
    	phoneIsExistTips: "手机号已存在",
    	phoneCheckFailTips: "请求查询失败",
    	noInfoTips: "请填写注册信息",
    	unqualifiedTips:"账号信息不能有空格"
    };
    
    locale.cn.emailRegTitle = "邮箱注册";
    
    locale.cn.pwdCheckTips = {
    	pwdTitle: "登录密码",
    	pwdPlaceholder: "请输入8-32位密码",
    	confirmPwdTitle: "确认密码",
    	confirmPwdPlaceholder: "请确认密码",
    	pwdLengthTips: "密码最短需要 8 个字符",
    	confirmTips: "两次输入密码不一致"
    };
    locale.cn.accountCheckTips = {
    	accountTitle: "账号",
    	accountPlaceholder: "6-32位字母开头可含数字下划线",
    	noInfoTips: "请填写注册信息",
    	unqualifiedTips:"账号信息不能有空格",
    	accountFormatTips:"6-32位，以字母开头包含字母数字或下划线"
    };
    locale.cn.emailCheckTips = {
    	emailTitle: "邮箱",
    	emailPlaceholder: "请输入正确邮箱地址",
    	emailFormatTips: "邮箱格式不正确",
    	emailAlreadyUsedTips:"该邮箱已被注册"
    };
    locale.cn.nameAlreadyUsedTips = "该账号名已被注册";
    locale.cn.errorRequestionTips = "请求错误";
    locale.en.title = '';
    locale.en.buttonTitle = "";
    locale.en.deviceType = [];
    locale.en.list = [{
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }];
}(window.locale = window.locale || {}));